<p>修改客户信息</p>
<div>
  <mat-form-field>
    <input matInput [disabled]="!isEditingMode" [(ngModel)]="phoneNumber"  placeholder="联系方式">
  </mat-form-field>
</div>
<div>
  <mat-form-field>
    <input matInput [disabled]="!isEditingMode" [(ngModel)]="lastName"  placeholder="姓">
  </mat-form-field>
</div>
<div>
  <mat-form-field>
    <input matInput [disabled]="!isEditingMode" [(ngModel)]="firstName"  placeholder="名">
  </mat-form-field>
</div>
<div>
  <mat-form-field>
    <mat-select [disabled]="!isEditingMode" [(ngModel)]="genderId" placeholder="性别">
      <mat-option value="0">保密</mat-option>
      <mat-option value="1">男</mat-option>
      <mat-option value="2">女</mat-option>
    </mat-select>
  </mat-form-field>
</div>
<div fxLayout="row" fxLayoutGap="10px">
  <button mat-raised-button [disabled]="isEditingMode" (click)="onEditClick($event.target)">编辑</button>
  <button mat-raised-button color="primary" (click)="onSaveClick($event.target)">保存</button>
  <app-nav-back></app-nav-back>
</div>
